package com.hpin.mlxteacher.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Aaron on 15/11/30.
 */
public class RecordDetail implements Parcelable {


    /**
     * water : 4
     * eat : 5
     * happy : 5
     * sleep : 5
     * shit : 5
     * pee : 4
     * content : 表现很好！
     * state : 1
     */

    public DataEntity data;
    /**
     * data : {"water":4,"eat":5,"happy":5,"sleep":5,"shit":5,"pee":4,"content":"表现很好！","state":1}
     * code : 0
     * code_msg : 成功
     */

    public int code;
//    public String code_msg;

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
    }

    public RecordDetail() {
    }

    protected RecordDetail(Parcel in) {
    }

    public static final Creator<RecordDetail> CREATOR = new Creator<RecordDetail>() {
        public RecordDetail createFromParcel(Parcel source) {
            return new RecordDetail(source);
        }

        public RecordDetail[] newArray(int size) {
            return new RecordDetail[size];
        }
    };
    

    public class DataEntity {
        public int water;
        public int eat;
        public int happy;
        public int sleep;
        public int shit;
        public int pee;
        public String content;
        public int state;
        
    }
}
